package com.entity;


public enum EnumEntity {
    CODE(0, "操作成功"),
    FAILE(1, "操作失败");

    private int code;
    private String msg;

    EnumEntity(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}

